package com.lzy.service;

import com.lzy.pojo.bo.NewFriendRequestBO;
import com.lzy.pojo.netty.ChatMsg;
import com.lzy.utils.PagedGridResult;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author lzy
 * @since 2025-08-26
 */
public interface ChatMessageService {

    /**
     * 保存消息
     * @param chatMsg
     */
    public void saveMsg(ChatMsg chatMsg);

    /**
     * 展示历史消息
     * @param senderId
     * @param receiverId
     * @param page
     * @param pageSize
     */
    public PagedGridResult queryChatMsgList(String senderId, String receiverId, Integer page, Integer pageSize);

    /**
     * 标记语音聊天消息已读
     * @param msgId
     */
    public void updateMsgSignRead(String msgId);
}
